<form class="form-horizontal" method="POST" action="" onsubmit="return false" >
    <input type="hidden" name="id" value="{$data.id}" />
    <input type="hidden" name="actions" value="infos" />
    {:widget('common/Input/index', [$data->agentInfo, [
        'name' => 'name',
        'title' => $Think.lang.shop_name,
        'placeholder' => $Think.lang.shop_name,
    ]])}
    {:widget('common/FileUpload/index', [$data->agentInfo, [
        'name' => 'avatar',
        'title' => $Think.lang.avatar,
        'placeholder' => $Think.lang.avatar,
        'type' => 'shop',
    ]])}
    {:widget('common/Input/index', [$data->agentInfo, [
        'name' => 'address',
        'title' => $Think.lang.address,
        'placeholder' => $Think.lang.address,
    ]])}
    {:widget('common/Input/index', [$data->agentInfo, [
        'name' => 'tel',
        'title' => $Think.lang.tel,
        'placeholder' => $Think.lang.tel,
    ]])}
    {:widget('common/Content/index', [$data->agentInfo, [
        'name' => 'info',
        'title' => $Think.lang.info,
    ]])}
    {:widget('common/Select/index', [$data->agentInfo, [
        'name' => 'status',
        'title' => $Think.lang.auditing_status,
        'from' => 'selectlist',
        'fromcfg' => 'status',
    ]])}
    <div class="form-group">
        <div class="col-sm-2"></div>
        <div class="col-sm-7">
            <div class="btn-group pull-right">
                <button type="submit" class="btn btn-info pull-right submits" data-loading-text="&lt;i class='fa fa-spinner fa-spin '&gt;&lt;/i&gt; {$Think.lang.submit}">{$Think.lang.submit}</button>
            </div>
            <div class="btn-group pull-left">
                <button type="reset" class="btn btn-warning">{$Think.lang.reset}</button>
            </div>
        </div>
    </div>
</form>